import { createRouter, createWebHashHistory } from 'vue-router'
import Animate from '../views/Animate.vue'
import Welcome from '../views/Welcome.vue'
import Assets from '../views/Assets.vue'
import Runder from '../views/Runder.vue'
import Model from '../views/Model.vue'

const routes = [
  {
    path: '/',
    redirect: { name: 'Welcome' }
  },
  {
    path: '/welcome',
    name: 'Welcome',
    component: Welcome
  },
  {
    path: '/animate',
    name: 'Animate',
    component: Animate
  },
  {
    path: '/assets',
    name: 'Assets',
    component: Assets
  },
  {
    path: '/runder',
    name: 'Runder',
    component: Runder
  },
  {
    path: '/model',
    name: 'Model',
    component: Model
  },
]
const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router